package cn.itsource.pojo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

//订单行驶坐标
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DriverPoint {
    private Long id;
    @NotEmpty(message = "坐标为空")
    private String latitude;
    @NotEmpty(message = "坐标为空")
    private String longitude;
    @NotEmpty(message = "单号为空")
    private String orderNo;
}